Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 6 - Picture Shapes / Applying Functions Described Elsewhere to Picture Shapes


Geometric Operations Applicable to Pictures

Many geometric operations post errors or warnings when applied to picture shapes, as described in "Functions That Post Errors or Warnings When Applied to Pictures" on page 6-52.

You can, however, apply the remainder of the functions described in Chapter 4, "Geometric Operations," to picture shapes. Table 6-4 gives important picture-related information for a subset of these functions; the remainder of the geometric operations exhibit the same behavior when applied to picture shapes as they do when applied to other types of shapes.
Geometric operations that exhibit special behavior when applied to pictures
Function nameAction taken
GXGetShapeAreaReturns summed areas of picture items.
GXGetShapeBoundsReturns bounding rectangle of specified item.
GXSetShapeBoundsIf the picture's mapTransformShape shape attribute is set, this function changes the picture's transform so that the entire picture fits within the specifed bounding rectangle. If this attribute is not set, this function posts an error.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help